<html>
<title>My Second Page</title>
<script>
document.write("<h3>This is heading</h3>");
document.write("<h1>This is a paragraph</h1>");
</script>
<body>
<h1>End</h1>
</body>
</html>